dir = "/home/tarena/下载/"

def copy(film_name):
    fr = open(dir+film_name, "rb")
    fw = open(film_name, "wb")
    while True:
        dit = fr.read(1024)
        if not dit:
            break
        fw.write(dit)
    fr.close()
    fw.close()


copy("dota_happy.jpeg")
